#pragma once
#include "Core/Macros.h"

namespace SL
{
class SELAH_API TextureLoader
{
public:
    unsigned char* loadTexture(const char* filepath, int* width, int* height, int* channels, int desired_channels);
    float* loadHDR(const char* filepath, int* width, int* height, int* channels);
    void freeTexture(unsigned char*);
    void storeHDR(char const *filename, int w, int h, int comp, const float *data);
};
} // namespace SL